<%@ page language="java"  pageEncoding="UTF-8"%>
<ul class="pagination">
	<c:forEach var="page" begin="1" end="${tp}">
		<c:choose>
			<c:when test="${page eq cp}">						
				<li class="active"><span>${page}</span></li>				
			</c:when>
			<c:otherwise>
				<li><a href="${link}cp=${page}">${page}</a></li>										
			</c:otherwise>
		</c:choose>
	</c:forEach>
</ul>